package com.clarence.dada.modular.system.dict.entity.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 字典
 *
 * @author GD
 * @since  2020/12/26 22:37
 */
@Data
@Schema(title = "系统字典响应实例")
public class SysDictResp {

    /**
     * 字典id
     */
    @Schema(title = "字典id", example = "1")
    private Long dictId;

    /**
     * 字典编码
     */
    @Schema(title = "字典编码", example = "M")
    private String dictCode;

    /**
     * 字典名称
     */
    @Schema(title = "字典名称", example = "男")
    private String dictName;

    /**
     * 字典类型的编码
     */
    @Schema(title = "字典类型的编码", example = "sex")
    private String dictTypeCode;

    /**
     * 字典简称
     */
    @Schema(title = "字典简称", example = "男")
    private String dictShortName;

    /**
     * 字典简称的编码
     */
    @Schema(title = "字典简称的编码", example = "M")
    private String dictShortCode;

    /**
     * 排序，带小数点
     */
    @Schema(title = "排序，带小数点", example = "1")
    private BigDecimal dictSort;

}
